package com.lynx.mapper.cb;

import java.util.List;

import com.lynx.mapper.cb.model.AndroidPluginPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author chris.liu
 * @version 4/10/14 9:59 AM
 */
@Repository("pluginStoreMapper")
public interface PluginStoreMapper {

	int getAndroidPluginNum();

	List<AndroidPluginPO> getAndroidPlugins(@Param("offset") int offset, @Param("limit") int limit);

	void updateAndroidPlugin(@Param("plugin") AndroidPluginPO plugin);
}
